﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace FangDuShi_Front.CommonClass
{
    public class BaseController : Controller
    {
        //protected override void OnActionExecuting(ActionExecutingContext filterContext)
        //{
        //    if (Session["CookieObject"] == null && Request.Cookies["ASP.NET_SessionId"]==null)
        //    {
        //        if (filterContext.ActionDescriptor.ActionName == "Index"
        //            )
        //        {
        //            Response.Write("<script>window.top.location.replace('" + Url.Action("Login", "Realtor") + "')</script>");
        //            Response.Flush();
        //            Response.End();
        //        }
        //    }
        //}

    }
}